licenses(["notice"])

java_test(
    name = "SecretKeyAccessTest",
    size = "small",
    srcs = ["SecretKeyAccessTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink/tinkkey:secret_key_access",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)

java_test(
    name = "KeyAccessTest",
    size = "small",
    srcs = ["KeyAccessTest.java"],
    deps = [
        "//src/main/java/com/google/crypto/tink/tinkkey:key_access",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)

java_test(
    name = "KeyHandleTest",
    size = "small",
    srcs = ["KeyHandleTest.java"],
    deps = [
        "//proto:aes_eax_java_proto",
        "//proto:tink_java_proto",
        "//src/main/java/com/google/crypto/tink:key_template",
        "//src/main/java/com/google/crypto/tink:key_templates",
        "//src/main/java/com/google/crypto/tink:registry",
        "//src/main/java/com/google/crypto/tink/aead:aes_eax_key_manager",
        "//src/main/java/com/google/crypto/tink/signature:ed25519_private_key_manager",
        "//src/main/java/com/google/crypto/tink/tinkkey:key_access",
        "//src/main/java/com/google/crypto/tink/tinkkey:key_handle",
        "//src/main/java/com/google/crypto/tink/tinkkey:secret_key_access",
        "//src/main/java/com/google/crypto/tink/tinkkey:tink_key",
        "//src/main/java/com/google/crypto/tink/tinkkey/internal:proto_key",
        "@com_google_protobuf//:protobuf_javalite",
        "@maven//:com_google_errorprone_error_prone_annotations",
        "@maven//:com_google_truth_truth",
        "@maven//:junit_junit",
    ],
)
